package com.cloudkinto.service.stock.vo.snap;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

@Data
@NoArgsConstructor
public class StockCheckTableDto {
    private String no;

    private String sku;

    private String productName;

    private String cellNo;

    private String areaType;

    @ApiModelProperty("账面库存")
    private String bookStock;

    @ApiModelProperty("实盘库存 只有盘点中编辑才可以")
    private String solidStock;

    private String childTips;

    /**
     * 盘点单无合并
     */
    private List<Map<String, String>> sonList = new ArrayList<>();

    public StockCheckTableDto(String no, String sku, String productName, String cellNo, String areaType, String bookStock, String solidStock, String childTips) {
        this.no = no;
        this.sku = sku;
        this.productName = productName;
        this.cellNo = cellNo;
        this.areaType = areaType;
        this.bookStock = bookStock;
        this.solidStock = solidStock;
        this.childTips = childTips;
    }
}
